package com.xuecx.common.enums;

/**
 * @Author:xuecx
 * @CreateDate: 2019/8/4.
 * @QQ:1276162287
 * @Discription:
 */
public enum CodeEnum {
   SUCCESS("1","成功"),
    ERROR("-1","失败");
   private String code;
    private String codeName;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    CodeEnum(String code,String codeName){
        this.code=code;
        this.codeName=codeName;
    }

}
